package net.risesoft.model.platform.resource;

import lombok.Data;

import net.risesoft.enums.platform.resource.OperationDisplayTypeEnum;

/**
 * 页面按钮操作资源
 *
 * @author dingzhaojun
 * @author qinman
 * @author mengjuhua
 * @author shidaobang
 * @date 2022/4/21
 */
@Data
public class Operation extends Resource {

    private static final long serialVersionUID = 8337074625810329535L;

    /**
     * 应用id
     */
    private String appId;

    /**
     * 父节点ID
     */
    private String parentId;

    /**
     * 展示方式
     */
    private OperationDisplayTypeEnum displayType;

    /** 按钮事件 */
    private String eventName;

    @Override
    public String getAppId() {
        return this.appId;
    }

    @Override
    public String getParentId() {
        return parentId;
    }
}
